A=[];
A=[38.9840  -27.7320
   38.9140  -24.0370
   37.4340  -19.9160
   34.7560  -15.5800
   30.8100  -11.3860
   25.9480   -7.2620
   20.9450   -4.3460
   15.8020   -2.8510
   10.5870   -1.7110
    5.0210   -1.7080
    0.4400   -2.7710
   -3.0830   -5.0430
   -6.4650   -7.3140
   -8.1560  -10.0130
   -9.0720  -12.5700
   -8.6490  -15.6250
   -8.7200  -16.9040
   -7.0990  -18.3260
   -6.3240  -20.2450
   -4.5630  -21.3830
   -3.5760  -22.8750
    0.0880  -25.9330
    4.4570  -28.9900
    9.7420  -32.4750
   15.2380  -36.2430
   20.5930  -39.2310
   25.5260  -40.5120
   29.1190  -40.7280
   32.3610  -39.5930
   35.2500  -37.1080
   37.0820  -34.4090
   38.4910  -31.0000 ];

scatter(A(:,1),A(:,2))
plot(A(:,1),A(:,2))
hold on

for j=1:32
  c = num2str(j);%数字转字符
  text(A(j,1),A(j,2),c);%在图上显示文字   
end
hold off


%%
%对A的数据删除17号，19,20号取个中点
A=[38.9840  -27.7320
   38.9140  -24.0370
   37.4340  -19.9160
   34.7560  -15.5800
   30.8100  -11.3860
   25.9480   -7.2620
   20.9450   -4.3460
   15.8020   -2.8510
   10.5870   -1.7110
    5.0210   -1.7080
    0.4400   -2.7710
   -3.0830   -5.0430
   -6.4650   -7.3140
   -8.1560  -10.0130
   -9.0720  -12.5700
   -8.6490  -15.6250
   -7.0990  -18.3260
   -5.4440  -20.8140
   -3.5760  -22.8750
    0.0880  -25.9330
    4.4570  -28.9900
    9.7420  -32.4750
   15.2380  -36.2430
   20.5930  -39.2310
   25.5260  -40.5120
   29.1190  -40.7280
   32.3610  -39.5930
   35.2500  -37.1080
   37.0820  -34.4090
   38.4910  -31.0000 ];

A=A.*2;
% A(:,1)=A(:,1)-80;
% A(:,2)=A(:,2)+15;
plot(P_ankle(1,:),P_ankle(2,:))
hold on
plot(A(:,1),A(:,2))
scatter(P_ankle(1,:),P_ankle(2,:))
scatter(A(:,1),A(:,2))
for j=1:30
  c = num2str(j);%数字转字符
  text(A(j,1),A(j,2),c);%在图上显示文字   
end

hold off
